<template>
    <el-form ref="form" :model="form" label-width="120px">
        <el-card class="box-card">
            <el-form-item label="开启管理员平台检测">
                <el-switch v-model="form.delivery"></el-switch>
            </el-form-item>
        </el-card>
        <el-card class="box-card">
            <el-form-item label="首选号码">
                <el-input v-model="form.first"></el-input>
            </el-form-item>
            <el-form-item label="备选号码">
                <el-input v-model="form.other1"></el-input>
            </el-form-item>
            <el-form-item label="">
                <el-input v-model="form.other2"></el-input>
            </el-form-item>
            <el-form-item label="">
                <el-input v-model="form.other3"></el-input>
            </el-form-item>
            <el-form-item label="">
                <el-input v-model="form.other4"></el-input>
            </el-form-item>
            <el-form-item label="提醒方案">
                <el-radio-group v-model="form.resource">
                    <el-row>
                        <el-radio label="每天三次：早上8：00;中午14：00;晚上20：00"></el-radio>
                    </el-row>
                    <el-row>
                        <el-radio label="每天两次：早上8：00;晚上20：00"></el-radio>
                    </el-row>
                </el-radio-group>
            </el-form-item>
            <el-form-item label="接口文档">
                <el-button type="success">点击查看</el-button>
            </el-form-item>
            <el-form-item label="提醒内容">
                <el-input type="textarea" :rows="4" v-model="form.desc"></el-input>
            </el-form-item>
        </el-card>
    </el-form>
</template>
<script>
  export default {
    data() {
      return {
        form: {
          first: '',
          other1: '',
          other2: '',
          other3: '',
          other4: '',
          name: '',
          region: '',
          date1: '',
          date2: '',
          delivery: false,
          type: [],
          resource: '',
          desc: ''
        }
      }
    },
    methods: {
      onSubmit() {
        console.log('submit!');
      }
    }
  }
</script>

<style>
.box-card {
    width: 95%;
  }
</style>